|
|
Joined: May 2001
Posts: 794
Content Queen
|
|
Content Queen
Joined: May 2001
Posts: 794 |
Name: PAGE TOP v 1.1 Description: This hack makes a link (image) at the end of each post that when clicked takes you back to the top of the page! Simple but effective. Demo: ADWOFF Test Board Author: James (badnbusy) Requirement: UBB™ 6.3 Download: pagetop_install2.zip ------ I always have liked this hack, and I went back to James's instructions for 6.2+ (or less) and tried to see if I could figure out how to get it to work with 6.3 ------- The zip file contains text instructions (I did a Multihack, too, but it's too hard for me to describe how I applied it!  ) and a small graphic for the page top. The text instructions are for the public_topic_page.pl in the Templates and JCTemplates directories. -------- The ONLY changes from James's original work was finding the code to be replaced. I did not do anything to the code that James created.
Sue adwoff.com
|
|
|
|
|
Joined: Mar 2001
Posts: 19
Junior Member
|
|
Junior Member
Joined: Mar 2001
Posts: 19 |
Ohhh... so easy and working perfectly. Thank you
Nervana Cairo, Egypt
|
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
|
Member
Joined: May 2001
Posts: 6,708 |
Useful hack, I'll install it later. Thanks.
|
|
|
|
|
Joined: Mar 2001
Posts: 326
Member
|
|
Member
Joined: Mar 2001
Posts: 326 |
I guess that 'HOME' key or 'ICON' in the browser is just too far to click eh? =)
|
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
|
Content Queen
Joined: May 2001
Posts: 794 |
quote: Originally posted by mark99: I guess that 'HOME' key or 'ICON' in the browser is just too far to click eh? =)
LOL ... Mark, the value of this hack is with pages that are long and/or threads that are long.
For example, if you are on page 10 in a thread and you click on the icon for the Page Top, it will take you to the first post on the first page in the thread.
Let's say you're reading through one of these threads on the hacks to see if you want to install it. You get to the end and you want an "easy" way to get back to the first post in the thread. This makes it easy. 
Sue adwoff.com
|
|
|
|
|
Joined: Mar 2000
Posts: 21,080 Likes: 3
I type like Navaho
|
|
I type like Navaho
Joined: Mar 2000
Posts: 21,080 Likes: 3 |
thankie... definitely useful 
|
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
... not in browsers that comply with standards. # alone should not take you to the top of the page. Any browser that does this is displaying a bug. To get to the top of the page in a cross-browser manner, you have to use a little Javascript: javascript:scrollTo(0,0); 
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
|
Joined: Mar 2001
Posts: 19
Junior Member
|
|
Junior Member
Joined: Mar 2001
Posts: 19 |
I already change it to javascript:scrollTo(0,0); working perfectly now thanks C.C.
Nervana Cairo, Egypt
|
|
|
|
|
Joined: Oct 2001
Posts: 114
Content Kidman
|
|
Content Kidman
Joined: Oct 2001
Posts: 114 |
I just tweaked the code so that the bottom rule and graphic is properly aligned with the top rule. I also added the "#top" fix described above.
[code][/code]
|
|
|
|
|
Joined: Mar 2000
Posts: 21,080 Likes: 3
I type like Navaho
|
|
I type like Navaho
Joined: Mar 2000
Posts: 21,080 Likes: 3 |
nice work 
|
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
|
Member
Joined: May 2001
Posts: 6,708 |
I think I installed this without that fix CC posted. I will check..
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 253
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 323
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 22
|
|
|
|